const Sequelize = require('sequelize');

/**
 * 短网址服务
 */
exports.ShortUrls = {
    hash: {type: Sequelize.STRING(50), allowNull: true},
    url: {type: Sequelize.STRING(255), allowNull: true, unique: 'short_url'}
}